package com.example.springcloud.dao;


import com.example.springcloud.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserDao {
    public boolean addUser(User user);
    public User queryById(Long id);
    public List<User> queryAll();
}
